Add connection URL output when creating or resetting Postgres roles#1179
Merged
SimeonGriggs merged 1 commit intomainfrom Jan 13, 2026
Merged
Add connection URL output when creating or resetting Postgres roles#1179SimeonGriggs merged 1 commit intomainfrom
SimeonGriggs merged 1 commit intomainfrom
Conversation
0c09659 to
bf4e924
Compare
Display credentials in a vertical layout with DATABASE URL when creating a role or resetting a role's password. This makes it easier for users to copy the connection string directly. Human output: ID role-abc123 NAME my-role USERNAME my-role_abc123 PASSWORD secretpass123 ACCESS HOST URL pg.psdb.cloud DATABASE URL postgresql://... JSON/CSV output includes the new database_url field. The connection URL follows the format: postgresql://username:password@host:port/postgres?sslmode=verify-full Also fixes the success message in reset-default to use the consistent database/branch format instead of branch in database.
bf4e924 to
f56fb0d
Compare
no-itsbackpack
approved these changes
Jan 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
DATABASE URLfield with a ready-to-use PostgreSQL connection stringChanges
Updates three commands:
pscale role createpscale role resetpscale role reset-defaultExample Output
Notes
database_urlfieldsslmode=verify-fullfor maximum security